import sys
import time


if __name__ == "__main__":
    looptime=30
    while looptime>0:
        print("<<<{tm}==={count}>>>".format(tm=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), count=looptime))
        looptime -= 1
        time.sleep(1)

